package com.yq.cp.entity.yw;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 运维-工单信息
 * </p>
 *
 * @author zh
 * @since 2024-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_yw_gdxx")
public class YwGdxx extends BaseEntity {

    private static final long serialVersionUID = 1L;





    private Long qdsId;//渠道商id
    private Long dqId;//大区id
    private Long shengId;//省id
    private Long shiId;//市id
    private Long quId;//区id
    private Long nyzId;//能源站id
    @TableField(exist = false)
    private String nyzName;
    private Long sbId;//设备id
    private String sbbm;//设备编码

    //工单来源 1-手动创建  2-设备离线报警  3-设备超出阈值报警
    private Integer gdly;
    /**
     * 申请人id
     */
    private Long sqrId;
    @TableField(exist = false)
    private String sqrName;

    /**
     * 工单类型id
     */
    private Long gdlxId;
    @TableField(exist = false)
    private String gdlxName;

    /**
     * 最晚受理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date zwslsjTime;

    /**
     * 所在位置
     */
    private String szwz;

    /**
     * 问题描述
     */
    private String wtms;

    /**
     * 问题图片
     */
    private String scwttp;

    private Integer fzrAuditState;

    private Long fzrAuditUserId;
    @TableField(exist = false)
    private String fzrAuditUserName;
    @TableField(exist = false)
    private String fzrAuditUserQm;;
    @TableField(exist = false)
    private String fzrAuditUserZw;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fzrAuditTime;

    private String fzrAuditExcuse;

    private Integer zzAuditState;

    private Long zzAuditUserId;
    @TableField(exist = false)
    private String zzAuditUserName;
    @TableField(exist = false)
    private String zzAuditUserQm;
    @TableField(exist = false)
    private String zzAuditUserZw;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date zzAuditTime;

    private String zzAuditExcuse;

    /**
     * 状态：	 0-审核中  	1-审核通过， 2-审核不通过
     */
    private Integer state;

    /**
     * null/1-待受理  2-已受理，带处理	3-已处理，待办结	4-拒绝办结，待处理	  99-已办结
     * */
    private Integer hxzt;

    /**
     * 1-待审核  2-待受理  3-待处理  4-已处理  5-已办结
     * */
//    private Long gdzt;
    /**
     * 受理人id
     * */
    private Long slrId;
    private Long jsnzrId;

    /**
     * 扭转状态：0-正常  1-扭转中
     */
    private Integer nzzt;

    /**
     * 扭转状态：0-正常  1-扭转中
     */
    private Integer clnzzt;
    private Long clrId;
    private Long jsclrId;
    private Long clslrId;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rq;

    private Long xqId;
    @TableField(exist = false)
    private String zbfzr;
    @TableField(exist = false)
    private String zbry;

    @TableField(exist = false)
    private String auditExcuse;

    @TableField(exist = false)
    private Integer auditState;


    @TableField(exist = false)
    private Long fzrId;
    @TableField(exist = false)
    private String fzrName;

    private Long nzrId;
    @TableField(exist = false)
    private Long fqrId;
    @TableField(exist = false)
    private Long xjxId;

    private Integer sffsdx;


    @TableField(exist = false)
    private Integer sfnjxnz;

    @TableField(exist = false)
    private Integer sfngbj;
    @TableField(exist = false)
    private Integer sfngsh;
    @TableField(exist = false)
    private Integer sfngclgd;
    @TableField(exist = false)
    private Integer sfngqrslgd;


    @TableField(exist = false)
    private Integer sfngjsyj;
    @TableField(exist = false)
    private Integer sfngzjgd;

    /**
     * 1-超时
     * */
    private Integer slcs;


}
